<template>
  <div class="hot">
    <div class="hot-title">热门城市</div>
    <ul class="hot-list">
      <li class="hot-item" v-for="item in hotCities">{{item.name}}</li>
    </ul>
  </div>
</template>

<script>
  export default{
    props:['hotCities'],
    data(){
      return{}
    }
  }
</script>

<style scope>
  .hot-title{
    font-size: .26rem;
    color: #212121;
    padding: .3rem;
  }
  .hot-list{
    background-color: #fff;
    font-size: .28rem;
    position: relative;
    overflow: hidden;

  }
  .hot-list:before{
    content: " ";
    position: absolute;
    height: 100%;
    width: 33.33333%;
    left: 33.33333%;
    border-left: .02rem solid #ddd;
    border-right: .02rem solid #ddd;

  }
  .hot-item{
    width: 33.3333%;
    text-align: center;
    height: .9rem;
    line-height: .9rem;
    float: left;
    border-bottom: .02rem solid #ddd;
   }
</style>
